// random pile for stuff without a good home

#import <Cocoa/Cocoa.h>

#define PI 3.14159

NSPoint centerPoint (NSRect rect);
BOOL pointNearPoint (NSPoint point, NSPoint center, float radius);

float distance (NSPoint from, NSPoint to);
float angleForPoints (NSPoint startPoint, NSPoint endPoint); // radians
float radiansToDegrees (float angle);
float degreesToRadians (float angle);

BOOL isNaN (float number);
